const computedDayCount = (start: string = "", end: string = "") => {
    const st = new Date(start)
    const et = new Date(end)
    const result = et.getTime() - st.getTime()
    // console.log(result / (1 * 24 * 60 * 60 * 1000))
    return result / (1 * 24 * 60 * 60 * 1000)
}

export default computedDayCount